package 设计模式.a_简单工厂;

/**
 * 
 * 硬币工厂
 * 
 * @author caihe
 * @date 2023/3/6 11:07
 */
public class CoinFactory {
    
    public static Coin getCoin(CoinTypeEnum type) {
        return type.getCoin().get();
    }
    
}
